<template>
  <div class="d-item-wrap">
    <div class="d-title">{{title}}</div>
    <div class="d-content">
      <div class="item">
        <div class="label" v-if="label">
          {{label}}
          <voice-txt-area></voice-txt-area>
        </div>
        <div class="txt">
          <textarea class="txt-area"
                    placeholder="点击输入文字"
                    :id="id"></textarea>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import voiceTxtArea from "./voiceTxtarea.vue"

  export default {
    props: {
      title: {
        default: ""
      },
      label: {
        default: ""
      },
      id: {
        default: ""
      },
    },
    components:{
      voiceTxtArea
    }
  }
</script>
